package cn.mapper;

import cn.pojo.HealthAbnormalPerson;
import cn.pojo.dto.OrderAbnormal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface HealthAbnormalPersonMapper {

    Integer saveAbnormal(HealthAbnormalPerson abnormalPerson);

    Integer updateAbnormal(HealthAbnormalPerson abnormalPerson);

    Integer deleteAbnormal(@Param("abnormalNo") Integer orderNo);

    List<OrderAbnormal> selectAbnormal(@Param("userId") String openid, @Param("kind") String kind);
}
